

package com.springboot.rmq.comm;

import java.io.Serializable;


public class Content implements Serializable {
    /**
     * key
     */
    private String key;

    /** 是否需要回调 ：自动把key返回 */
    private Boolean hasCallBack = false;

    /**
     * 回调的topic
     */
    private String callBackTopic;

    /**
     * 回调的 tag
     */
    private String callBackTag;

    Exception exception;//异常信息，正常是空的，不为空说明有异常错误
    public String getCallBackTopic() {

        return callBackTopic;
    }

    public void setCallBackTopic(String callBackTopic) {

        this.callBackTopic = callBackTopic;
    }

    public String getCallBackTag() {

        return callBackTag;
    }

    public void setCallBackTag(String callBackTag) {

        this.callBackTag = callBackTag;
    }

    public String getKey() {

        return key;
    }

    public void setKey(String key) {

        this.key = key;
    }

    public Boolean getHasCallBack() {

        return hasCallBack;
    }

    public void setHasCallBack(Boolean hasCallBack) {

        this.hasCallBack = hasCallBack;
    }

    public Exception getException() {
        return exception;
    }

    public void setException(Exception exception) {
        this.exception = exception;
    }
}
